.class Lcom/estrongs/android/ftp/c$a;
.super Ljava/lang/Object;
.source "ESFtpSvrConnector.java"

# interfaces
.implements Landroid/content/ServiceConnection;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/ftp/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ftp/c;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ftp/c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    check-cast p2, Lcom/estrongs/android/ftp/ESFtpService$c;

    invoke-virtual {p2}, Lcom/estrongs/android/ftp/ESFtpService$c;->a()Lcom/estrongs/android/ftp/ESFtpService;

    move-result-object p2

    invoke-static {p1, p2}, Lcom/estrongs/android/ftp/c;->a(Lcom/estrongs/android/ftp/c;Lcom/estrongs/android/ftp/ESFtpService;)Lcom/estrongs/android/ftp/ESFtpService;

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    invoke-static {p1}, Lcom/estrongs/android/ftp/c;->a(Lcom/estrongs/android/ftp/c;)Lcom/estrongs/android/ftp/ESFtpService;

    move-result-object p1

    if-nez p1, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    const/4 p2, 0x1

    iput-boolean p2, p1, Lcom/estrongs/android/ftp/c;->c:Z

    .line 4
    invoke-static {p1}, Lcom/estrongs/android/ftp/c;->b(Lcom/estrongs/android/ftp/c;)Lcom/estrongs/android/ftp/c$b;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    invoke-static {p1}, Lcom/estrongs/android/ftp/c;->b(Lcom/estrongs/android/ftp/c;)Lcom/estrongs/android/ftp/c$b;

    move-result-object p1

    invoke-interface {p1}, Lcom/estrongs/android/ftp/c$b;->onConnected()V

    .line 6
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    const/4 p2, 0x0

    invoke-static {p1, p2}, Lcom/estrongs/android/ftp/c;->a(Lcom/estrongs/android/ftp/c;Lcom/estrongs/android/ftp/c$b;)Lcom/estrongs/android/ftp/c$b;

    return-void
.end method

.method public onServiceDisconnected(Landroid/content/ComponentName;)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/estrongs/android/ftp/c;->a(Lcom/estrongs/android/ftp/c;Lcom/estrongs/android/ftp/ESFtpService;)Lcom/estrongs/android/ftp/ESFtpService;

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ftp/c$a;->a:Lcom/estrongs/android/ftp/c;

    const/4 v0, 0x0

    iput-boolean v0, p1, Lcom/estrongs/android/ftp/c;->c:Z

    return-void
.end method
